Dekoratives Banner

Settings getSetting() Method


    app.settings.getSetting(sectionName,keyName)

Description

    The getSetting method retrieves a setting found in the Prefs file.

Parameters

    sectionName

    text string which holds the name of a section of settings; in the prefs file these are the names enclosed in brackets and quotations

    keyName

    text string which describes an individual setting name; these are listed in quotations below the sectionName

Returns

    String representing the value of the setting.

Example

    var n = app.settings.getSetting("Eraser - Paint Settings", "Aligned Clone");
    alert("The setting is " + n);

See also

    Settings haveSetting() Method

    Settings saveSetting() Method